package cn.zw.msmp.pojo;

import java.util.Calendar;
import java.util.Date;

import org.apache.commons.lang.RandomStringUtils;

import cn.zw.msmp.common.util.DateUtil;

public class TransactionInfo {

	private Integer id;
	private String transactionId;
	private String wangwangName;//旺旺名称
	private String customerName;//收件人
	private String custPhone;//联系电话
	private String address;//收件人地址
	private Integer transactionNum;//件数
	private Date transactionTm;//交易日期
	private String prodDesc;//产品描述
	private Date refundTm;//退款时间
	private String refundReason;//退款原因
	private String orderDetail;//下单详情
	private String province;//省份
	private String city;//城市
	private String evaluate;//评价
	private Date wxTransferDate;//微信转账日期
	private Double wxTransferAmount;//微信转账金额
	private int reBuy;//是否复购 1：是
	private int recommend;//是否推荐 1：是
	private String recommender;//推荐人
	private String remark;
	private Date createTm;
	private Date updateTm;
	
	private Date wxStartDate;
	private Date wxEndDate;
	
	public TransactionInfo() {
		this.transactionId = DateUtil.dateToStr(Calendar.getInstance().getTime(), DateUtil.DATE_TIME_NO_SLASH)+RandomStringUtils.randomNumeric(5);
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getTransactionId() {
		return transactionId;
	}


	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}


	public String getWangwangName() {
		return wangwangName;
	}


	public void setWangwangName(String wangwangName) {
		this.wangwangName = wangwangName;
	}


	public String getCustomerName() {
		return customerName;
	}


	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}


	public String getCustPhone() {
		return custPhone;
	}


	public void setCustPhone(String custPhone) {
		this.custPhone = custPhone;
	}


	public String getAddress() {
		return address;
	}


	public void setAddress(String address) {
		this.address = address;
	}


	public Integer getTransactionNum() {
		return transactionNum;
	}


	public void setTransactionNum(Integer transactionNum) {
		this.transactionNum = transactionNum;
	}


	public Date getTransactionTm() {
		return transactionTm;
	}


	public void setTransactionTm(Date transactionTm) {
		this.transactionTm = transactionTm;
	}


	public String getProdDesc() {
		return prodDesc;
	}


	public void setProdDesc(String prodDesc) {
		this.prodDesc = prodDesc;
	}


	public Date getRefundTm() {
		return refundTm;
	}


	public void setRefundTm(Date refundTm) {
		this.refundTm = refundTm;
	}


	public String getRefundReason() {
		return refundReason;
	}


	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}


	public String getOrderDetail() {
		return orderDetail;
	}


	public void setOrderDetail(String orderDetail) {
		this.orderDetail = orderDetail;
	}


	public String getProvince() {
		return province;
	}


	public void setProvince(String province) {
		this.province = province;
	}


	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}


	public String getEvaluate() {
		return evaluate;
	}


	public void setEvaluate(String evaluate) {
		this.evaluate = evaluate;
	}


	public Date getWxTransferDate() {
		return wxTransferDate;
	}


	public void setWxTransferDate(Date wxTransferDate) {
		this.wxTransferDate = wxTransferDate;
	}


	public Double getWxTransferAmount() {
		return wxTransferAmount;
	}


	public void setWxTransferAmount(Double wxTransferAmount) {
		this.wxTransferAmount = wxTransferAmount;
	}


	public int getReBuy() {
		return reBuy;
	}


	public void setReBuy(int reBuy) {
		this.reBuy = reBuy;
	}


	public int getRecommend() {
		return recommend;
	}


	public void setRecommend(int recommend) {
		this.recommend = recommend;
	}


	public String getRecommender() {
		return recommender;
	}


	public void setRecommender(String recommender) {
		this.recommender = recommender;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public Date getCreateTm() {
		return createTm;
	}


	public void setCreateTm(Date createTm) {
		this.createTm = createTm;
	}


	public Date getUpdateTm() {
		return updateTm;
	}


	public void setUpdateTm(Date updateTm) {
		this.updateTm = updateTm;
	}


	public Date getWxStartDate() {
		return wxStartDate;
	}


	public void setWxStartDate(Date wxStartDate) {
		this.wxStartDate = wxStartDate;
	}


	public Date getWxEndDate() {
		return wxEndDate;
	}


	public void setWxEndDate(Date wxEndDate) {
		this.wxEndDate = wxEndDate;
	}
	
}
